home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 117
/
FreelogNo117-OctobreNovembre2013.iso
/
Programmation
/
jedit
/
jedit5.1.0install.exe
/
{app}
/
modes
/
jamon.xml
< prev
next >
Wrap
Extensible Markup Language
|
2013-07-28
|
4KB
|
124 lines
<?xml version="1.0"?>
<!DOCTYPE MODE SYSTEM "xmode.dtd">
<!-- Mode file for Jamon templates. See http://www.jamon.org -->
<MODE>
<PROPS>
<PROPERTY NAME="commentStart" VALUE="<%--" />
<PROPERTY NAME="commentEnd" VALUE="--%>" />
</PROPS>
<RULES DEFAULT="LITERAL2">
<IMPORT DELEGATE="INLINE" />
<IMPORT DELEGATE="OVERRIDES" />
<IMPORT DELEGATE="html::MAIN"/>
</RULES>
<RULES SET="INLINE" DEFAULT="LITERAL2">
<SPAN_REGEXP HASH_CHAR="<" MATCH_TYPE="OPERATOR" DELEGATE="java::MAIN">
<BEGIN><%(args|class|import|java|xargs)></BEGIN>
<END></%$1></END>
</SPAN_REGEXP>
<SPAN_REGEXP HASH_CHAR="<" MATCH_TYPE="OPERATOR" DELEGATE="java::MAIN">
<BEGIN><%(?:if|for|java)</BEGIN>
<END>%></END>
</SPAN_REGEXP>
<SEQ_REGEXP HASH_CHAR="<" TYPE="OPERATOR"></%(?:if|for)></SEQ_REGEXP>
<SEQ TYPE="OPERATOR"><%else></SEQ>
<SPAN_REGEXP HASH_CHAR="<" MATCH_TYPE="OPERATOR" TYPE="KEYWORD2">
<BEGIN><%(?:abstract|def|doc|escape|extends|frag|method|override)</BEGIN>
<END>></END>
</SPAN_REGEXP>
<SPAN_REGEXP HASH_CHAR="<" MATCH_TYPE="OPERATOR">
<BEGIN></%(?:def|doc|frag|method|override)</BEGIN>
<END>></END>
</SPAN_REGEXP>
<SPAN TYPE="OPERATOR" DELEGATE="java::MAIN">
<BEGIN><%</BEGIN>
<END>%></END>
</SPAN>
<SPAN_REGEXP HASH_CHAR="<" MATCH_TYPE="OPERATOR" DELEGATE="java::MAIN">
<BEGIN><&\|?</BEGIN>
<END>&></END>
</SPAN_REGEXP>
<SEQ TYPE="OPERATOR"></&></SEQ>
</RULES>
<RULES SET="OVERRIDES" IGNORE_CASE="TRUE" DEFAULT="LITERAL2">
<!-- CSS -->
<SPAN TYPE="MARKUP" DELEGATE="CSS">
<BEGIN><style</BEGIN>
<END></style></END>
</SPAN>
<!-- JavaScript -->
<SPAN_REGEXP TYPE="MARKUP" HASH_CHAR="<" DELEGATE="JAVASCRIPT">
<BEGIN><(?i)(script)</BEGIN>
<END></$1></END>
</SPAN_REGEXP>
<!-- HTML tags. -->
<SPAN TYPE="MARKUP" DELEGATE="TAGS">
<BEGIN><</BEGIN>
<END>></END>
</SPAN>
</RULES>
<RULES SET="JAVASCRIPT" DEFAULT="LITERAL1">
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE" ESCAPE="\" DELEGATE="INLINE">
<BEGIN>"</BEGIN>
<END>"</END>
</SPAN>
<IMPORT DELEGATE="INLINE" />
<IMPORT DELEGATE="javascript::MAIN" />
</RULES>
<RULES SET="CSS" DEFAULT="LITERAL1">
<SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE" ESCAPE="\" DELEGATE="INLINE">
<BEGIN>"</BEGIN>
<END>"</END>
</SPAN>
<IMPORT DELEGATE="INLINE" />
<IMPORT DELEGATE="css::MAIN" />
</RULES>
<!--
This is a copy of above; IMPORT doesn't inherit DEFAULT and we need
a different default depending on context.
-->
<RULES SET="INLINE_MARKUP" DEFAULT="LITERAL1">
<SPAN_REGEXP HASH_CHAR="<" MATCH_TYPE="OPERATOR" TYPE="KEYWORD2">
<BEGIN><%(?:abstract|def|doc|escape|extends|frag|method|override)</BEGIN>
<END>></END>
</SPAN_REGEXP>
<SPAN_REGEXP HASH_CHAR="<" MATCH_TYPE="OPERATOR">
<BEGIN></%(?:def|doc|frag|method|override)</BEGIN>
<END>></END>
</SPAN_REGEXP>
<SPAN TYPE="OPERATOR" DELEGATE="java::MAIN">
<BEGIN><%</BEGIN>
<END>%></END>
</SPAN>
<SPAN_REGEXP HASH_CHAR="<" MATCH_TYPE="OPERATOR" DELEGATE="java::MAIN">
<BEGIN><&\|?</BEGIN>
<END>&></END>
</SPAN_REGEXP>
<SEQ TYPE="OPERATOR"></&></SEQ>
</RULES>
<RULES SET="TAGS" DEFAULT="MARKUP">
<SPAN TYPE="LITERAL1" DELEGATE="INLINE_MARKUP">
<BEGIN>"</BEGIN>
<END>"</END>
</SPAN>
<IMPORT DELEGATE="INLINE_MARKUP" />
<IMPORT DELEGATE="html::TAGS" />
</RULES>
</MODE>